<@master template="master/master-loan"  title="打款详情">
 <div class="detailsBox pb80">
 <div class="detailsBox">
    <div class="openBox">
		<h3>
			<i class="jtIco"></i>客户信息
		</h3>
		<div class="detaiTab">
	  
	        <table border="0" cellpadding="0" cellspacing="0" width="100%">
	            <tr>
	                <td class="bg" align="right" width="15%">姓名:</td>
	                <td>
	                     ${entity.loanName}
							
	                </td>
	                <td class="bg" align="right" width="15%">证件号码:</td>
	                <td>
	                    ${entity.documentNo}
							
	                </td>
	               
	            </tr>
	            
	        </table>
	   </div>
	</div>
  </div>
	    <div class="openBox">
			<h3>
				<i class="jtIco"></i>打款信息
			</h3>
		    <div class="detaiTab">
				 <table border="0" cellpadding="0" cellspacing="0" width="100%" >
				    <tr>
					    <td class="bg" align="right" width="15%">打款金额（元）:</td>
					     <td>
							${entity.collectMoney}
					    	
					    </td>
					  	 <td class="bg" align="right" width="15%">打款时间:</td>
					     <td>
							 ${entity.breakDate}
					    </td>
				    </tr>
				    <tr>
				  	 <td class="bg" align="right" width="15%">打款备注:</td>
				     <td colspan="3">
				     	${entity.collectPs}
				      	
				       </td>
				    </tr>
				 </table>
		     </div>
	   </div>
	   <!-- 收款确认信息 begin -->
		<div class="action-ajax-load" data-url="/rcollectFees/skqr?id=${entity.id}"></div>
	   <!-- 收款确认信息 end -->
		<!-- 上传附件 begin -->
		<div class="openBox action-ajax-load"
			data-url="<@url value='/rcollectFees/uploadFile?id=${entity.id}&customer_id=${entity.loanId}&type=read'/>"
			id="file_uploader"></div>
		<!-- 上传附件 end -->
		<!--审核记录--> 
		<div class="detailsBox"> 
			<div class="openBox">
			<h3 class="mt20"><i class="jtIco1"></i>审核记录</h3>
               <div class="action-ajax-load" data-url="<@url value='${approvUrl}' domain='o2o.admin.workflow'/>"   >审核历史加载中。。。</div>
			</div>
		</div>
		<div class=" mtb20 tac">
	       <#if entity.status=="NEW"><!-- 启动流程按钮 -->
	         <@permission permissionName="editCollectFees">
	            <a href="<@url value='/collectFees/detail?id=${entity.id}'/>" class="btn_auto_30 btn_blue">编辑</a>
	          </@permission>
			  <@permission permissionName="startCollectFees">
	            <a href="<@url value='/rcollectFees/startup?id=${entity.id}'/>" class="btn_auto_30 btn_blue action-ajax-btn">启动流程</a>
	          </@permission>
			  <@permission permissionName="delCollectFees">
	            <a href="<@url value='/rcollectFees/del?id=${entity.id}'/>"   class="btn_auto_30 btn_blue action-ajax-btn-confirm"">删除</a>
	          </@permission>
	      </#if>
		</div>	
	</div>	
</@master>